3.4.78 \(\int \frac {(a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{9/2}} \, dx\) [378]

Optimal. Leaf size=42 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}} \]

[Out]

1/8*cos(f*x+e)*(a+a*sin(f*x+e))^(7/2)/f/(c-c*sin(f*x+e))^(9/2)

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {2821} \begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + a*Sin[e + f*x])^(7/2)/(c - c*Sin[e + f*x])^(9/2),x]

[Out]

(Cos[e + f*x]*(a + a*Sin[e + f*x])^(7/2))/(8*f*(c - c*Sin[e + f*x])^(9/2))

Rule 2821

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp
[b*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/(a*f*(2*m + 1))), x] /; FreeQ[{a, b, c, d, e, f
, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && EqQ[m + n + 1, 0] && NeQ[m, -2^(-1)]

Rubi steps

\begin {align*} \int \frac {(a+a \sin (e+f x))^{7/2}}{(c-c \sin (e+f x))^{9/2}} \, dx &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(115\) vs. \(2(42)=84\).
time = 2.74, size = 115, normalized size = 2.74 \begin {gather*} -\frac {a^3 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {a (1+\sin (e+f x))} (-7 \sin (e+f x)+\sin (3 (e+f x)))}{4 c^4 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^4 \sqrt {c-c \sin (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + a*Sin[e + f*x])^(7/2)/(c - c*Sin[e + f*x])^(9/2),x]

[Out]

-1/4*(a^3*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])*Sqrt[a*(1 + Sin[e + f*x])]*(-7*Sin[e + f*x] + Sin[3*(e + f*x)]
))/(c^4*f*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*(-1 + Sin[e + f*x])^4*Sqrt[c - c*Sin[e + f*x]])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(153\) vs. \(2(36)=72\).
time = 18.54, size = 154, normalized size = 3.67

method result size
default \(-\frac {\left (-1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right ) \left (\cos ^{2}\left (f x +e \right )-2\right ) \sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {7}{2}}}{f \left (\cos ^{4}\left (f x +e \right )+\left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )+3 \left (\cos ^{3}\left (f x +e \right )\right )-4 \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )-8 \left (\cos ^{2}\left (f x +e \right )\right )-4 \cos \left (f x +e \right ) \sin \left (f x +e \right )-4 \cos \left (f x +e \right )+8 \sin \left (f x +e \right )+8\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {9}{2}}}\) \(154\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(9/2),x,method=_RETURNVERBOSE)

[Out]

-1/f*(-1+cos(f*x+e)+sin(f*x+e))*(cos(f*x+e)^2-2)*sin(f*x+e)*(a*(1+sin(f*x+e)))^(7/2)/(cos(f*x+e)^4+cos(f*x+e)^
3*sin(f*x+e)+3*cos(f*x+e)^3-4*sin(f*x+e)*cos(f*x+e)^2-8*cos(f*x+e)^2-4*cos(f*x+e)*sin(f*x+e)-4*cos(f*x+e)+8*si
n(f*x+e)+8)/(-c*(sin(f*x+e)-1))^(9/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(9/2),x, algorithm="maxima")

[Out]

integrate((a*sin(f*x + e) + a)^(7/2)/(-c*sin(f*x + e) + c)^(9/2), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 137 vs. \(2 (39) = 78\).
time = 0.34, size = 137, normalized size = 3.26 \begin {gather*} -\frac {{\left (a^{3} \cos \left (f x + e\right )^{2} - 2 \, a^{3}\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} \sin \left (f x + e\right )}{c^{5} f \cos \left (f x + e\right )^{5} - 8 \, c^{5} f \cos \left (f x + e\right )^{3} + 8 \, c^{5} f \cos \left (f x + e\right ) + 4 \, {\left (c^{5} f \cos \left (f x + e\right )^{3} - 2 \, c^{5} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(9/2),x, algorithm="fricas")

[Out]

-(a^3*cos(f*x + e)^2 - 2*a^3)*sqrt(a*sin(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)*sin(f*x + e)/(c^5*f*cos(f*x +
 e)^5 - 8*c^5*f*cos(f*x + e)^3 + 8*c^5*f*cos(f*x + e) + 4*(c^5*f*cos(f*x + e)^3 - 2*c^5*f*cos(f*x + e))*sin(f*
x + e))

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))**(7/2)/(c-c*sin(f*x+e))**(9/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 164 vs. \(2 (39) = 78\).
time = 0.53, size = 164, normalized size = 3.90 \begin {gather*} \frac {{\left (4 \, a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} - 6 \, a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + 4 \, a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - a^{3} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{8 \, c^{\frac {9}{2}} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{8}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(7/2)/(c-c*sin(f*x+e))^(9/2),x, algorithm="giac")

[Out]

1/8*(4*a^3*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^6 - 6*a^3*sgn(cos(-1/4*pi + 1/2*
f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^4 + 4*a^3*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f
*x + 1/2*e)^2 - a^3*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)))*sqrt(a)/(c^(9/2)*f*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e)
)*sin(-1/4*pi + 1/2*f*x + 1/2*e)^8)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{7/2}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{9/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a*sin(e + f*x))^(7/2)/(c - c*sin(e + f*x))^(9/2),x)

[Out]

int((a + a*sin(e + f*x))^(7/2)/(c - c*sin(e + f*x))^(9/2), x)

________________________________________________________________________________________